package com.gujiangbo.mapstruct;

public enum GenderEnum {

    Male("1", "男"),
    Female("2", "女");
    private String code;
    private String name;

    GenderEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
